package com.song.guli.service.edu.fegin.fallback;

import com.song.guli.common.base.result.R;
import com.song.guli.service.edu.fegin.OssFileService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author 宋超
 * HP - the login name of the current user.
 * 2021/4/6 - the current system date.
 * 16:38 - the current system time.
 */
@Slf4j
@Service
public class OssFileServiceFallBack implements OssFileService {
    @Override
    public R test() {
        return R.error();
    }

    @Override
    public R removeFile(String url) {
        log.info("熔断保护");
        return R.error();
    }
}
